const { mock, Random } = require('mockjs')

module.exports = {
    'POST /api/test': ({ succ }) => {
        succ(mock({
            'content|10': [{
                id: "@uuid",
                date: '@date("yyyy-MM-dd")',
                name: '@cname',
                sex: "@pick(['男','女'])",
                age: '@string("number",2)',
                status: '1'
            }]
        }))
    }
}